-
Home
-
Defender Security – Malware Scanner, Login Security & Firewall
-
2.6.5
-
Code
-
Classes
- User_Agent
| Total Complexity |
31 |
| Dependencies |
3 |
| Dependents |
4 |
| Total lines |
228 |
| Lines of code |
112 |
| Logical lines of code |
70 |
| Comment lines |
78 |
| Methods |
12 |
| Properties |
2 |
Methods 12
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| verify_import_file() |
S |
53 |
5 |
22 |
| is_bad_user_agent() |
S |
61 |
5 |
13 |
| get_status_text() |
S |
59 |
4 |
15 |
| log_event() |
S |
55 |
3 |
21 |
| is_bad_post() |
S |
69 |
4 |
6 |
| is_active_component() |
S |
79 |
2 |
3 |
| get_message() |
S |
73 |
2 |
5 |
| sanitize_user_agent() |
S |
65 |
2 |
9 |
| __construct() |
S |
74 |
1 |
4 |
| extra_cleaning() |
S |
66 |
1 |
8 |
| add_hooks() |
S |
98 |
1 |
1 |
| block_user_agent_or_ip() |
S |
72 |
1 |
5 |